

<h2>Articles Tagged: <%=h params[:id] %></h2>

<% if @articles_pages.page_count > 1 %>
  <p class="pagination">Pages: <strong>
    <%= pagination_links @articles_pages, :params => params %>
  </strong></p>
<% end %>

<% @articles.each do |article| %>
  <div class="article">
    <h3><%= article.title %></h3>


    <p>
      <%= article.created_at.to_s(:short) %> by <%= article.user.name %><br />
      <%= article.synopsis %><br />
      <%= link_to 'Read the full article', {:controller=>'articles1',:action=>'show',:id=>article.id} %>
    </p>
  </div>
<% end %>